//
//  Sort.h
//  Study
//
//  Created by 振兴 刘 on 2017/9/23.
//  Copyright © 2017年 振兴 刘. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Sort : NSObject

+ (void)swap:(NSMutableArray*)array first:(NSInteger)first second:(NSInteger)second;

+ (void)bubblingSort:(NSMutableArray*)srcArray;

+ (void)insetSort:(NSMutableArray*)array;

+ (void)heapSort:(NSMutableArray*)array;

+ (void)quickSort:(NSMutableArray*)array;

@end
